<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php if(isset($g_site['websitename'])){echo $g_site['websitename']; }?></title>
    <meta name="keywords" content="<?php if(isset($g_site['websitekeywords'])){echo $g_site['websitekeywords']; }?>">
    <meta name="description" content="<?php if(isset($g_site['websitedescription'])){echo $g_site['websitedescription']; }?>">
    <link rel="stylesheet" href="/static/web/css/main.css" type="text/css">
    <link rel="stylesheet" href="/static/web/css/index_side.css" type="text/css">
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
    <script src="/static/web/js/jquery.js" type="text/javascript"></script>
    <script src="/static/web/js/jquery.flexslider-min.js" type="text/javascript"></script>
    <script src="/static/web/js/web.js" type="text/javascript"></script>
</head>
<body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
<div class="header_box">
    <div class="header">
        <div class="logo">
            <a href="/"><img src="/static/web/images/logo.png"></a>
        </div>
        <div class="rig_top">
            <dl class="fwrx">
                <dt><img src="/static/web/images/tel.png"></dt>
                <dd><span class="word">全国服务热线</span><span class="tel"><?php echo $config['contact_config']['tel400']; ?></span></dd>
            </dl>
            <div class="contact">
                <div class="topcon">
                    <span class="weixin"></span><a href="http://weibo.com/huajiahuikeji/home?wvr=5&amp;lf=reg" target="_blank">
                        <span class="xinlang"></span></a>
                    <ul class="langage">
                        <li><a href="/">中文</a></li>
                        <li><a href="../en/main.html">English</a></li>
                    </ul>
                </div>
                <div class="search">
                    <form id="Form1" name="searchfrm" method="post" action="/cn/search.html" onsubmit="return Search()">
                        <input name="SearchKey" id="Text1" type="text" class="typ_sear">
                        <input name="IsSearch" id="Hidden1" type="hidden" class="input" value="1">
                        <input name="btnSearch" id="Submit1" type="submit" class="btn_type" value="">
                    </form>
                </div>
            </div>
        </div>
        <div class="nav">
            <ul>
                <li class="selected">
                    <a href="/" title="首页" class="selected">首页</a>
                </li>
                <?php  foreach($g_nav_list as $k=>$v) : ?>
                    <li>
                        <a href="/cn/<?php echo $v['classlinkname']?>.html"><?php echo $v['classname']?></a>
                    </li>
                <?php endforeach ;?>
            </ul>

        </div>
    </div>
</div>
    <div class="content_box">
        <div id="bannerBox">
            <div id="bannerImg">
                <ul>
                    <?php foreach($ad_list['list'] as $key=>$val): ?>
                        <li><a href="<?php echo $val['adlink']; ?>"><img src="<?php echo $val['adpath']; ?>"></a></li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <!--banner小圆点-->
            <div id="bannerBtn_box">
                <div id="bannerBtn">
                    <ul>
                        <?php foreach($ad_list['list'] as $key=>$val): ?>
                            <li class=""></li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            </div>
        </div>
        <div class="con_bot">
            <div class="concon">
                <div class="new">
                    <dl class="new_con">
                        <dt><img src="<?php echo $news['adpath']; ?>"></dt>
                        <dd>
                            <div class="new_ti">
                                <?php if(count($news['infos']) > 4){ ?>
                                    <span class="more">
                                    <a href="<?php echo $news['adlink']; ?>">更多&gt;&gt;</a>
                                </span>
                                <?php } ?>
                                <a href="<?php echo $news['adlink']; ?>">新闻动态</a>
                            </div>
                            <ul>
                                <?php foreach($news['infos'] as $key=>$val): ?>
                                    <?php if($key < 4){ ?>
                                        <li>
                                            <span><?php echo date('Y-m-d',strtotime($val['addtime']))?></span>
                                            <a href="/cn/article-details-<?php echo $val['articleid']?>.html" title="<?php echo $val['title']; ?>"><?php echo msubstr($val['title'],0,20); ?> </a>
                                        </li>
                                    <?php } ?>
                                <?php endforeach; ?>
                            </ul>

                        </dd>
                    </dl>
                </div>
                <div class="project">
                    <dl class="project_con">
                        <dt><img src="<?php echo $jishuzhichi['adpath']; ?>"></dt>
                        <dd>
                            <div class="project_ti">
                                <?php if(count($jishuzhichi['infos']) > 4){ ?>
                                    <span class="more">
                                    <a href="<?php echo $jishuzhichi['adlink']; ?>">更多&gt;&gt;</a>
                                </span>
                                <?php } ?>
                                <a href="<?php echo $jishuzhichi['adlink']; ?>">技术支持</a>
                            </div>
                            <ul>
                                <?php foreach($jishuzhichi['infos'] as $key=>$val): ?>
                                    <?php if($key < 4){ ?>
                                        <li> <span><?php echo date('Y-m-d',strtotime($val['addtime']))?></span>
                                            <a href="/cn/article-details-<?php echo $val['articleid']?>.html" title="<?php echo $val['title']; ?>">
                                                <?php echo msubstr($val['title'],0,20); ?>
                                            </a>
                                        </li>
                                    <?php } ?>
                                <?php endforeach; ?>
                            </ul>

                        </dd>
                    </dl>
                </div>
            </div>
        </div>
    </div>
<div class="footer_box">
    <div class="footer">
        <div class="coryright">
            <p>Copyright © <?php echo $config['copyright']; ?> <br>版权所有:<?php echo $config['banquan']; ?>
            </p>
        </div>
        <ul>
            <?php foreach($footer_info as $val): ?>
                <li><a href="<?php echo $val['siteurl']?>"><?php echo $val['sitename']?></a></li>
            <?php endforeach; ?>
        </ul>
    </div>
</div>

<!-- 微信弹窗 -->
<style type="text/css">
    .weixin-mask{display: none; position: fixed; top:0; left:0; bottom:0; right:0; background: url(/static/web/images/mask-bg.png) repeat; z-index: 9999;}
    .weixin-pop{display: none; position: absolute; top:100px; left:50%; width: 527px; height: 501px; background: url(/static/web/images/tipswx.png) no-repeat bottom;z-index: 10000;}
    .weixin-closed{ display: block; position: absolute; top:3px; right: 31px; width: 40px; height: 30px; background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; font-size: 18px; text-align: center; line-height: 30px; cursor: pointer; z-index: 10001;}
    .weixin-closed:hover{ color: #28166f;}
    .weixin-img{ position: absolute; top:170px; right:55px; z-index: 10002;}
    .weixin-img img{ display: block; width: 210px; height: 210px;}
</style>

<div class="weixin-pop">
    <span class="weixin-closed">X</span>
    <div class="weixin-img"><img src="/static/web/images/weixing.jpg" alt=""></div>
</div>
<div class="weixin-mask"></div>

<script type="text/javascript">
    function PopAuto(element){
        var WinHeight = $(window).outerHeight();
        var WinWidth = $(window).outerWidth();
        var PopHeight = $(element).outerHeight();
        var PopWidth = $(element).outerWidth();
        var PopTop =(WinHeight-PopHeight)/2;
        var PopLeft =(WinWidth-PopWidth)/2;
        $(element).css({
            'top':PopTop+'px',
            'left':PopLeft+'px'
        });
    }
    $(function(){
        PopAuto('.weixin-pop');
        $(window).resize(function(){
            PopAuto('.weixin-pop');
        });
        $('.weixin').click(function(){
            $('.weixin-mask,.weixin-pop').fadeIn(500);
        });
        $('.weixin-closed').click(function(){
            $('.weixin-mask,.weixin-pop').fadeOut(500);
        });
    });
</script>
<!-- 微信弹窗 结束 -->

</body>
<script src="/static/web/js/main.js" type="text/javascript"></script>
<script>
    $(function(){
        $('.flexslider').flexslider({
            directionNav: true,
            pauseOnAction: false
        });
    });
</script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1000287944'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s23.cnzz.com/z_stat.php%3Fid%3D1000287944%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</html>